Core.Runtime.ExAction = function() {
	this.trace = new Core.Storage.Trace(this.update.bind(this));
	this.args = new Core.Runtime.Args(this);
	this.args.override("border", "dotted 1px red", this, 20);
};

Core.Runtime.ExAction.prototype = {
	
	create: function() {
		this.trace.start();
		this.element = document.createElement("div");
		
		this.element.style.width = "300px";
		this.element.style.height = "200px";
		this.element.style.background = this.args.get("..background", this.trace);
		this.element.style.border = this.args.get(".border", this.trace);
		
		document.body.appendChild(this.element);
		this.trace.stop();
	},
	
	update: function() {
		this.element.style.background = this.args.get("..background", this.trace);
		this.element.style.border = this.args.get(".border", this.trace);
	},
	
	dispose: function() {
		
	},
	
	getArguments: function(object) {
		return new Core.Runtime.ArgsProxy(this.args, object);
	}
}